﻿using System.Windows;
using System.Windows.Media.Imaging;

namespace compshop.Modules.GeneralProducts.Views
{
    /// <summary>
    /// Interaction logic for PhotoWindow.xaml
    /// </summary>
    public partial class PhotoWindow : Window
    {
        public PhotoWindow(BitmapImage image, string title)
        {
            InitializeComponent();
            imgPhoto.Source = image;
            this.Title = title;
        }
    }
}
